package com.enjoyor.soa.traffic.api.dto.bigdata;

import java.io.Serializable;

/**
 * Created by wulei on 2018/3/28.
 * Description:CRT:Congest RealTime的缩写
 * 路段拥堵指数排行榜实体
 */
public class CRTRoadTopDto implements Serializable {
    private static final long serialVersionUID = 1L;
    private String roadId;       //路段ID
    private String roadName;     //路段名称
    private float index;        //实时拥堵指数
    private float duration;     //行驶时长
    private float diffDuration; //延迟时长
    private float ratio; //延迟时长


    /**
     * Getter method for property ratio.
     *
     * @return property value of ratio
     * 获取 ${bare_field_name}
     */

    public float getRatio() {

        return ratio;
    }

    /**
     * Setter method for property <tt>ratio</tt>.
     *
     * @param ratio value to be assigned to property ratio
     */
    public void setRatio(float ratio) {
        this.ratio = ratio;
    }


    /**
     * Getter method for property roadId.
     *
     * @return property value of roadId
     * 获取 ${bare_field_name}
     */

    public String getRoadId() {

        return roadId;
    }

    /**
     * Setter method for property <tt>roadId</tt>.
     *
     * @param roadId value to be assigned to property roadId
     */
    public void setRoadId(String roadId) {
        this.roadId = roadId;
    }

    /**
     * Getter method for property roadName.
     *
     * @return property value of roadName
     * 获取 ${bare_field_name}
     */

    public String getRoadName() {

        return roadName;
    }

    /**
     * Setter method for property <tt>roadName</tt>.
     *
     * @param roadName value to be assigned to property roadName
     */
    public void setRoadName(String roadName) {
        this.roadName = roadName;
    }

    /**
     * Getter method for property index.
     *
     * @return property value of index
     * 获取 ${bare_field_name}
     */

    public float getIndex() {

        return index;
    }

    /**
     * Setter method for property <tt>index</tt>.
     *
     * @param index value to be assigned to property index
     */
    public void setIndex(float index) {
        this.index = index;
    }

    /**
     * Getter method for property duration.
     *
     * @return property value of duration
     * 获取 ${bare_field_name}
     */

    public float getDuration() {

        return duration;
    }

    /**
     * Setter method for property <tt>duration</tt>.
     *
     * @param duration value to be assigned to property duration
     */
    public void setDuration(float duration) {
        this.duration = duration;
    }

    /**
     * Getter method for property diffDuration.
     *
     * @return property value of diffDuration
     * 获取 ${bare_field_name}
     */

    public float getDiffDuration() {

        return diffDuration;
    }

    /**
     * Setter method for property <tt>diffDuration</tt>.
     *
     * @param diffDuration value to be assigned to property diffDuration
     */
    public void setDiffDuration(float diffDuration) {
        this.diffDuration = diffDuration;
    }

}
